Skip to content

STM32WBA2: Add Bluetooth LE support#364

Open
HoZHel wants to merge 1 commit intozephyrproject-rtos:mainfrom
HoZHel:WBA2_BLE_support
Open

STM32WBA2: Add Bluetooth LE support#364
HoZHel wants to merge 1 commit intozephyrproject-rtos:mainfrom
HoZHel:WBA2_BLE_support

Conversation

@HoZHel
Copy link
Copy Markdown
Collaborator

@HoZHel HoZHel commented Apr 28, 2026

Provide Bluetooth LE support for STM32WBA2.

Add WBA2 basic and full BLE libraries (BLOBS).

Supplementary PR #108116

@HoZHel HoZHel changed the title STM32WBA2: Add Bluetooth LE STM32WBA2: Add Bluetooth LE support Apr 28, 2026
@HoZHel HoZHel marked this pull request as ready for review April 28, 2026 14:36
Comment thread lib/stm32wba/CMakeLists.txt Outdated
endif()

# Distinguish STM32WBA6x from STM32WBA5x lines
# Distinguish between WBA series SoCs
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

Suggested change
# Distinguish between WBA series SoCs
# Distinguish between lines of the STM32WBA series

Also, we could declare CONFIG_SOC_STM32WBAxX_LINE_DEVICE options on Zephyr side (in a similar fashion to SOC_STM32F10X_xxx_LINE_DEVICE) and use them here instead to avoid explicit SoC checks - this makes adding SoCs easier as no hal_stm32 update is required.

cc @erwango

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but I'm having hard times to imagine that we'll have much more SoCs of this kind here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even by introducing CONFIG_SOC_STM32WBAxX_LINE_DEVICE, hal_stm32 update is still needed to set libname_prefix and introduce new BLOBS.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mathieuchopstm, I applied your suggested change.

@erwango
Copy link
Copy Markdown
Member

erwango commented Apr 29, 2026

@HoZHel Please rebase

@HoZHel HoZHel force-pushed the WBA2_BLE_support branch from 472cb57 to 8ffcd51 Compare April 29, 2026 13:28
@HoZHel
Copy link
Copy Markdown
Collaborator Author

HoZHel commented Apr 29, 2026

@HoZHel Please rebase

Done

@erwango erwango requested a review from mathieuchopstm April 29, 2026 16:25
Copy link
Copy Markdown
Collaborator

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you refine the commit message header line. E.g.:

-STM32WBA2: Add Bluetooth LE
+lib: stm32wba: Add Bluetooth LE link layer for WBA2x

Provide Bluetooth LE support for STM32WBA2.

Add WBA2 basic and full BLE libraries (BLOBS).

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
@HoZHel HoZHel force-pushed the WBA2_BLE_support branch from 8ffcd51 to 50bd0a9 Compare April 30, 2026 10:06
@HoZHel
Copy link
Copy Markdown
Collaborator Author

HoZHel commented Apr 30, 2026

Could you refine the commit message header line. E.g.:

-STM32WBA2: Add Bluetooth LE
+lib: stm32wba: Add Bluetooth LE link layer for WBA2x

Done.

@erwango erwango requested a review from etienne-lms April 30, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants